which yields the correct answer in list form. Note that no inputted statement can span more than one line. input() should not be used for anything but the most trivial program. Turning the strings returned from raw_input() into python types using an idiom